#ifndef _VECTORC_H

#define _VECTORC_H

#include <math.h>
#include <iostream>

using namespace::std;

class Vector
{
public:
	//Constructor
	Vector();
	Vector(double X, double Y, double Z);

	//Propiedades
	void setX(double valor){dblX = valor;}
	double getX(){return dblX;}

	void setY(double valor){dblY = valor;}
	double getY(){return dblY;}

	void setZ(double valor){dblZ = valor;}
	double getZ(){return dblZ;}

	void setUnitX(const double &valor){dblUnitX = valor;}
	double getUnitX(){return dblUnitX;}
	void setUnitY(const double &valor){dblUnitY = valor;}
	double getUnitY(){return dblUnitY;}
	void setUnitZ(const double &valor){dblUnitZ = valor;}
	double getUnitZ(){return dblUnitZ;}

	//Metodos
	double CalcularMagnitud();
	void ConvVectorUnitario();

private:
	//Atributos
	double dblX;
	double dblY;
	double dblZ;

	double dblUnitX;
	double dblUnitY;
	double dblUnitZ;

};


class Vector4f
{
public:
	Vector4f();
	Vector4f(double v1, double v2, double v3, double v4);
	void setValor(int Nro,double v1);
	double getValor(int Nro);

private:
	double dblV1;
	double dblV2;
	double dblV3;
	double dblV4;
};


#endif
